//长寿白方
const prescripList = resolve => require(['@/page/ccp-page/prescrip/prescrip-list.vue'],resolve);//列表
const prescripClassList = resolve => require(['@/page/ccp-page/prescrip/class-list.vue'],resolve);//分类列表
const prescripAddClass = resolve => require(['@/page/ccp-page/prescrip/add-class.vue'],resolve);//添加药方分类
const addPrescrip = resolve => require(['@/page/ccp-page/prescrip/add-prescrip.vue'],resolve);//添加药方
const editPrescrip = resolve => require(['@/page/ccp-page/prescrip/edit-prescrip.vue'],resolve);//编辑药方
//长寿功法
const methodTextList = resolve => require(['@/page/ccp-page/method/method-text-list.vue'],resolve);//列表
const methodVideoList = resolve => require(['@/page/ccp-page/method/method-video-list.vue'],resolve);//列表
const methodClassList = resolve => require(['@/page/ccp-page/method/method-class-list.vue'],resolve);//分类列表
const methodAddClass = resolve => require(['@/page/ccp-page/method/add-method-class.vue'],resolve);//添加功法分类
const addMethod = resolve => require(['@/page/ccp-page/method/add-method.vue'],resolve);//添加功法 
const addMethodText = resolve => require(['@/page/ccp-page/method/add-method-text.vue'],resolve);//添加功法文章
const addMethodVideo = resolve => require(['@/page/ccp-page/method/add-method-video.vue'],resolve);//添加功法视频
const editMethodText = resolve => require(['@/page/ccp-page/method/edit-method-text.vue'],resolve);//编辑功法文章
const editMethodVideo = resolve => require(['@/page/ccp-page/method/edit-method-video.vue'],resolve);//编辑功法视频

//长寿之声
const voiceList = resolve => require(['@/page/ccp-page/voice/voice-list.vue'],resolve);//列表
const voiceClassList = resolve => require(['@/page/ccp-page/voice/voice-class-list.vue'],resolve);//音频分类列表
const voiceAddClass = resolve => require(['@/page/ccp-page/voice/add-voice-class.vue'],resolve);//添加音频分类
const addvoice = resolve => require(['@/page/ccp-page/voice/add-voice.vue'],resolve);//添加音频
const editvoice = resolve => require(['@/page/ccp-page/voice/edit-voice.vue'],resolve);//编辑音频

//长寿之像
const videoList = resolve => require(['@/page/ccp-page/video/video-list.vue'],resolve);//列表
const videoClassList = resolve => require(['@/page/ccp-page/video/video-class-list.vue'],resolve);//视频分类列表
const videoAddClass = resolve => require(['@/page/ccp-page/video/add-video-class.vue'],resolve);//添加视频分类
const addvideo = resolve => require(['@/page/ccp-page/video/add-video.vue'],resolve);//添加视频
const editvideo = resolve => require(['@/page/ccp-page/video/edit-video.vue'],resolve);//编辑视频


//长寿家族
const familyAddTopic = resolve => require(['@/page/ccp-page/family/add-topic.vue'],resolve);//添加话题
const familyTopicList = resolve => require(['@/page/ccp-page/family/topic-list.vue'],resolve);//话题列表
const familyAddImgText = resolve => require(['@/page/ccp-page/family/add-image-text.vue'],resolve);//添加图文
const familyImgTextList = resolve => require(['@/page/ccp-page/family/image-text-list.vue'],resolve);//图文列表
const editImageText = resolve => require(['@/page/ccp-page/family/edit-image-text.vue'],resolve);//编辑图文 
const addFacebook = resolve => require(['@/page/ccp-page/family/add-facebook.vue'],resolve);//添加帖子 
const facebookList = resolve => require(['@/page/ccp-page/family/facebook-list.vue'],resolve);//帖子列表 
const detailFacebook = resolve => require(['@/page/ccp-page/family/detail-facebook.vue'],resolve);//帖子详情 


const CCP_ROUTER_INDEX = [
    {path: '/prescripList',name: 'prescripList',component: prescripList,meta:{title:'药方列表'}},
    {path: '/prescripClassList',name: 'prescripClassList',component: prescripClassList,meta:{title:'药方分类列表'}},
    {path: '/prescripAddClass',name: 'prescripAddClass',component: prescripAddClass,meta:{title:'添加药方分类'}},
    {path: '/addPrescrip',name: 'addPrescrip',component: addPrescrip,meta:{title:'添加药方'}},
    {path: '/editPrescrip',name: 'editPrescrip',component: editPrescrip,meta:{title:'编辑药方'}},
    //长寿功法
    {path: '/methodTextList',name: 'methodTextList',component: methodTextList,meta:{title:'功法列表'}},
    {path: '/methodVideoList',name: 'methodVideoList',component: methodVideoList,meta:{title:'功法列表'}},
    {path: '/methodClassList',name: 'methodClassList',component: methodClassList,meta:{title:'功法分类列表'}},
    {path: '/methodAddClass',name: 'methodAddClass',component: methodAddClass,meta:{title:'添加功法分类'}},
    {path: '/addMethod',component: addMethod, 
        children:[
            {path: '/addMethodText',name: 'addMethodText',component: addMethodText,meta:{title:'添加功法文章'}},
            {path: '/addMethodVideo',name: 'addMethodVideo',component: addMethodVideo,meta:{title:'添加功法视频'}},
        ]
    },
    {path: '/editMethodText',name: 'editMethodText',component: editMethodText,meta:{title:'编辑功法文章'}},
    {path: '/editMethodVideo',name: 'editMethodVideo',component: editMethodVideo,meta:{title:'编辑功法视频'}},
    //长寿之声
    {path: '/voiceList',name: 'voiceList',component: voiceList,meta:{title:'音频列表'}},
    {path: '/voiceClassList',name: 'voiceClassList',component: voiceClassList,meta:{title:'音频分类列表'}},
    {path: '/voiceAddClass',name: 'voiceAddClass',component: voiceAddClass,meta:{title:'添加音频分类'}},
    {path: '/addvoice',name: 'addvoice',component: addvoice,meta:{title:'添加音频'}},
    {path: '/editvoice',name: 'editvoice',component: editvoice,meta:{title:'编辑音频'}},

    //长寿之像
    {path: '/videoList',name: 'videoList',component: videoList,meta:{title:'视频列表'}},
    {path: '/videoClassList',name: 'videoClassList',component: videoClassList,meta:{title:'视频分类列表'}},
    {path: '/videoAddClass',name: 'videoAddClass',component: videoAddClass,meta:{title:'添加视频分类'}},
    {path: '/addvideo',name: 'addvideo',component: addvideo,meta:{title:'添加视频'}},
    {path: '/editvideo',name: 'editvideo',component: editvideo,meta:{title:'编辑视频'}},

    //长寿家族
    {path: '/familyAddTopic',name: 'familyAddTopic',component: familyAddTopic,meta:{title:'添加话题'}},
    {path: '/familyTopicList',name: 'familyTopicList',component: familyTopicList,meta:{title:'话题列表'}},
    {path: '/familyAddImgText',name: 'familyAddImgText',component: familyAddImgText,meta:{title:'添加图文'}},
    {path: '/familyImgTextList',name: 'familyImgTextList',component: familyImgTextList,meta:{title:'图文列表'}},
    {path: '/editImageText',name: 'editImageText',component: editImageText,meta:{title:'编辑图文'}},
    {path: '/addFacebook',name: 'addFacebook',component: addFacebook,meta:{title:'添加帖子'}},
    {path: '/facebookList',name: 'facebookList',component: facebookList,meta:{title:'帖子列表'}}, 
    {path: '/detailFacebook',name: 'detailFacebook',component: detailFacebook,meta:{title:'帖子详情'}},


];

export default CCP_ROUTER_INDEX;
